package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.exportRFCPanel.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.exportRFCPanel.exportRFCPanelSubs.ShowNewsDialog;

public class CancelShowNewsDialogActionListener implements ActionListener {

	private ShowNewsDialog newsDialog;

	public CancelShowNewsDialogActionListener(ShowNewsDialog newsDialog) {
		this.newsDialog = newsDialog;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		this.newsDialog.dispose();
	}

}
